﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<iss.sg4210.se18.team6s.jass.DAL.Article>>" %>
<table class="lsttable" width="100%>
    <%if (Model != null && Model.Count() > 0)
      {
          foreach (var item in Model)
          { %>
    <tr style="text-align: left">
        <td class="lsttd" >
            <%: Html.ActionLink(item.Title, "Details", "Article", new { id = item.Id }, new { })%>
        </td>
    </tr>
    <% 
        }
      }
      else
      {
    %>
    <tr>
        <td valign="top">
            No data Found!
        </td>
    </tr>
    <% } %>
</table>
